examples: Rename the pkg-config file for GTK 4
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 5 Feb 2019 09:27:57 +0000 (10:27 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 5 Feb 2019 09:27:57 +0000 (10:27 +0100)
We dropped the '+' and the major.minor version from the pkg-config file
name.

examples/README
examples/application1/Makefile.example
examples/application10/Makefile.example
examples/application2/Makefile.example
examples/application3/Makefile.example
examples/application4/Makefile.example
examples/application5/Makefile.example
examples/application6/Makefile.example
examples/application7/Makefile.example
examples/application8/Makefile.example
examples/application9/Makefile.example

index a12c1260432cfd3f1c1ee63f24f30a6b969dc7c5..ab70ec382cc9c437677d8e9e6ca6b215ab81cfa2 100644 (file)
@@ -2,10 +2,10 @@
 
 == Building the examples ==
 
-The examples in this directory are built alongside the rest of GTK+.
+The examples in this directory are built alongside the rest of GTK.
 
 The examples under the `application[1-10]` directories are also included in
-the GTK+ API reference documentation, and can be built independently, using
+the GTK API reference documentation, and can be built independently, using
 the system libraries, by doing:
 
     $ cd application1
index 52746a09458b3268928e9a9015f1b4f6df308871..e978edd351ffbc37f6590fe4f109b0cde186be13 100644 (file)
@@ -1,7 +1,7 @@
 CC ?= gcc
 PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
+LIBS = $(shell $(PKGCONFIG) --libs gtk4)
 
 SRC = main.c exampleapp.c exampleappwin.c
 
index 03ddb9a874e0f294afa4f1cdc1f481ee5b617044..4c8396568f3b72ca349611395617047cc7a24a1e 100644 (file)
@@ -1,7 +1,7 @@
 CC ?= gcc
 PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
+LIBS = $(shell $(PKGCONFIG) --libs gtk4)
 GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
 GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
 
index c0eb251560d4f8a6146ba7f8abcab73554babfd6..5b81fedf0722da568b1c8576cc3b168434192ffa 100644 (file)
@@ -1,7 +1,7 @@
 CC ?= gcc
 PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
+LIBS = $(shell $(PKGCONFIG) --libs gtk4)
 GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
 
 SRC = exampleapp.c exampleappwin.c main.c
index c0eb251560d4f8a6146ba7f8abcab73554babfd6..5b81fedf0722da568b1c8576cc3b168434192ffa 100644 (file)
@@ -1,7 +1,7 @@
 CC ?= gcc
 PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
+LIBS = $(shell $(PKGCONFIG) --libs gtk4)
 GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
 
 SRC = exampleapp.c exampleappwin.c main.c
index 2714a1decbd934c5a852f455d9899573927f8f8d..97af3fca29c1bd89341b380b2d253735a4ab872a 100644 (file)
@@ -1,7 +1,7 @@
 CC ?= gcc
 PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
+LIBS = $(shell $(PKGCONFIG) --libs gtk4)
 GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
 
 SRC = exampleapp.c exampleappwin.c main.c
index b86eef33789261ec92b3eb680c1b67634a7a715e..ac7ae85bd309133032637653bd1eaa7aa414561c 100644 (file)
@@ -1,7 +1,7 @@
 CC ?= gcc
 PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
+LIBS = $(shell $(PKGCONFIG) --libs gtk4)
 GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
 GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
 
index 7c8762ec29fd4020a26056b41f8f9391fac8e483..0a8a3db3551adfcb2c1395caa4d97e01e6ff9e7f 100644 (file)
@@ -1,7 +1,7 @@
 CC ?= gcc
 PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
+LIBS = $(shell $(PKGCONFIG) --libs gtk4)
 GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
 GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
 
index 03ddb9a874e0f294afa4f1cdc1f481ee5b617044..4c8396568f3b72ca349611395617047cc7a24a1e 100644 (file)
@@ -1,7 +1,7 @@
 CC ?= gcc
 PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
+LIBS = $(shell $(PKGCONFIG) --libs gtk4)
 GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
 GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
 
index 03ddb9a874e0f294afa4f1cdc1f481ee5b617044..4c8396568f3b72ca349611395617047cc7a24a1e 100644 (file)
@@ -1,7 +1,7 @@
 CC ?= gcc
 PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
+LIBS = $(shell $(PKGCONFIG) --libs gtk4)
 GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
 GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
 
index 03ddb9a874e0f294afa4f1cdc1f481ee5b617044..4c8396568f3b72ca349611395617047cc7a24a1e 100644 (file)
@@ -1,7 +1,7 @@
 CC ?= gcc
 PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
+LIBS = $(shell $(PKGCONFIG) --libs gtk4)
 GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
 GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)